---
kind: Ingress
apiVersion: networking.k8s.io/v1
metadata:
  name: application
  annotations:
    # kubernetes.io/ingress.class: "system-ingress"
    certmanager.k8s.io/cluster-issuer: monitoring-issuer
spec:
  ingressClassName: "system-ingress"
  tls:
    - hosts:
        - application.kryukov.local
      secretName: app-tls
  rules:
    - host: "application.kryukov.local"
      http:
        paths:
          - pathType: Prefix
            path: /
            backend:
              service:
                name: application
                port:
                  number: 80